class PricesToStrings < ActiveRecord::Migration
  def self.up
    change_column :quotes, :price_per_hour, :string
    change_column :quotes, :hours,         :string
    change_column :quotes, :total_price,    :string
  end
  
  def self.down
    change_column :quotes, :price_per_hour,  :decimal, :precision => 8, :scale => 2
    change_column :quotes, :hours,           :decimal, :precision => 8, :scale => 2
    change_column :quotes, :total_price,     :decimal, :precision => 8, :scale => 2
  end
end
